/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

/**
 *
 * @author OJH
 */
public class DanhMuc {
    private int maDanhMuc;
    private String tenDanhMuc;
    
    public DanhMuc() {
      this.maDanhMuc=0;
      this.tenDanhMuc = "";
   }

   public DanhMuc(int maDanhMuc, String tenDanhMuc) {
      this.maDanhMuc= maDanhMuc;
      this.tenDanhMuc  = tenDanhMuc ;
   }

   public DanhMuc(DanhMuc dm) {
      this.maDanhMuc=dm.maDanhMuc;
      this.tenDanhMuc = dm.tenDanhMuc;
   }
   
    /**
     * @return the maDanhMuc
     */
    public int getMaDanhMuc() {
        return maDanhMuc;
    }

    /**
     * @param maDanhMuc the maDanhMuc to set
     */
    public void setMaDanhMuc(int maDanhMuc) {
        this.maDanhMuc = maDanhMuc;
    }
    /**
     * @return the tenDanhMuc
     */
    public String getTenDanhMuc() {
        return tenDanhMuc;
    }

    /**
     * @param tenDanhMuc the tenDanhMuc to set
     */
    public void setTenDanhMuc(String tenDanhMuc) {
        this.tenDanhMuc = tenDanhMuc;
    }

  
    
}
